using MediatR;
using SupplierCustomerManagement.Read.API.Dtos.Lambing;

namespace SupplierCustomerManagement.Read.API.Applications.Commands.lambing
{
    /// <summary>
    /// 获取产羔月度统计 查询
    /// </summary>
    public class GetLambingMonthlyStatsQuery : IRequest<List<LambingMonthlyRowDto>>
    {
        /// <summary>
        /// 年份（必填），例如："2025"
        /// </summary>
        public string year { get; set; } = string.Empty;

        /// <summary>
        /// 月份（可选），例如："01"~"12"
        /// </summary>
        public string? month { get; set; }

        /// <summary>
        /// 羊场ID（可选）
        /// </summary>
        public int? farmId { get; set; }
    }
}
